﻿@model IEnumerable<WebDocDB.Models.DocumentCollection>
@{
    ViewBag.Title = "Index";
}

<h2>Collections</h2>

<br /><br />
@foreach (var item in Model)
{    
    @Ajax.ActionLink(item.ID, "Index", "Collection", new { collectionLink = item.Link }, new AjaxOptions() { UpdateTargetId = "pnlCollection" })
    <br />
}